package 设计模式.命令模式;

public class LightReceiver {
    public void on() {
        System.out.println("电灯打开..");
    }

    public void off() {
        System.out.println("电灯关闭..");
    }
}
